<?php

$url = getInputArray("url", $params);
$width = getInputArray("width", $params, "");
$height = getInputArray("height", $params, "");

$style="";
if($width){
	$style .= "width:$width;";
}
if($height){
	$style .= "height:$height;";
}

?>
<div class="image">
	<img class="" style="<?php echo $style ?>" alt="" src="<?php echo $url?>" />
</div>